package com.delong.dao.market;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.delong.model.market.DataSource;
import com.delong.model.market.SourceBase;

@SuppressWarnings("unused")
public interface SourceBaseMapper {
	
	
	List<SourceBase> selectList(@Param("title") String title, @Param("pageno") int pageno,
			@Param("limit") int limit);

	int addElement(SourceBase element);

	int selectListcount(@Param("title") String title);

	int changeStatus(@Param("id") int id, @Param("status") int status);

	int changeElement(SourceBase element);

	SourceBase selectElementById(@Param("id") int id);
	
	List<SourceBase> selectALL();
}
